package com.box.service;

import java.util.List;

import com.box.entity.DbTheme;
import com.box.utils.LayuiResult;

public interface ThemeService {
	
	//查询轮播图列表
	public LayuiResult selThemeList(Integer page,Integer limit);
	
	//单个删除
	public Integer delThemeByid(String id);
	
	//查询单个
	public DbTheme selThemeByOne(String id);
	
	//修改
	public Integer updateTheme(DbTheme theme);
	
	//添加
	public Integer insertTheme(DbTheme theme);
	
	//批量删除
	public Integer deleteByAll(String ThemeStr);
	
	//查询列表
	public List<DbTheme> selTheme(Integer id);
	
	//查询广告通过uppid
	public DbTheme selThemeByUppid(Integer uppid);


}
